<div class="row-fluid">
    <div class="span12">

         <div class="messagehead">
              <button class="btn btn-large btn-primary" id="birthday-modal-btn">Set default birthday wish message for you customers</button>
         </div>
         <br />
        <div class="demo-info" style="margin-bottom:10px">
            <div class="demo-tip icon-tip"></div>
            <div>
                Click on a row to select it, click again to deselect it.
                Click the New to add new row.
                Click on Edit to begin editing on a selected row.
                Click Save to save the row.
                Click on Cancel to quit changes to a row.
            </div>
        </div>

        <table id="flex" style="display:none;"></table>

    </div>
</div>

<div id="birthday_modal" class="modal hide fade">
    <?php echo $this->Form->create('Config', array('id' => 'form-sms','class'=>'form-horizontal'));?>
    <!-- <form class="form form-horizontal" method="post" action="" enctype="" style="margin: 0px;">-->
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4>Default SMS Birthday Message</h4>
    </div>
    <div class="modal-body">
        <div class="control-group">
            <label class="control-label" for="password">Message:</label>
            <div class="controls">
                <?php echo $this->Form->input('message', array('type' => 'texarea', 'default'=>$defualt_msg ,'style'=>'width:248px;' ,'cols'=>'60', 'rows'=>'6','id' => 'message', 'class' => 'input input-large', 'required'=>'','div' => false, 'label' => false)); ?>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" href="<?php echo $this->Html->url(array('action' => 'customers/save_default_birthday_txt')); ?>" id="save_default_bdmsg_btn" class="btn btn-primary">Save Message</button>
        <a href="#birthday_modal" id="close_sms_btn" class="btn" data-toggle="modal">Close</a>
    </div>
    <?php echo $this->Form->end();?>
</div>

<!-- URLs -->
<input type="hidden" id="table-url" value="<?php echo $this->Html->url(array('controller' => 'ServiceAdviser', 'action' => 'customers/get')); ?>" />
<input type="hidden" id="table-editable-url" value="<?php echo $this->Html->url(array('controller' => 'ServiceAdviser', 'action' => 'customers/save')); ?>" />
<input type="hidden" id="table-details-url" value="<?php echo $this->Html->url(array('controller' => 'ServiceAdviser', 'action' => 'customers/load_details')); ?>" />

<!-- Le Script -->
<?php
    echo $this->Html->script('scripts/service_advisers/users.js');
?>
